﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AttendanceDetail.aspx.cs"
    Inherits="Meeting.Web.Admin.MeetingAfter.AttendanceDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>签到明细</title>
    <link rel="stylesheet" type="text/css" href="../../Scripts/themes/cupertino/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../../Scripts/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="../../Css/main.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../Scripts/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../../Scripts/common.js"></script>
    <script type="text/javascript">

        $(function () {
           
            //初始化列表
            $('#mainList').datagrid({
                url: 'AttendanceStatisticsOperation.ashx?method=GetAttendanceDetail&IsAbsent='+request("IsAbsent")+'&Id=' + request("Id"),
                singleSelect: true,
                collapsible: false
            });
            //设置分页
//            var p = $("#mainList").datagrid("getPager");
//            $(p).pagination({
//                pageSize: 10, //每页显示的记录条数，默认为10   
//                pageList: [5, 10, 15], //可以设置每页记录条数的列表   
//                beforePageText: '第', //页数文本框前显示的汉字   
//                afterPageText: '页    共 {pages} 页',
//                displayMsg: '当前显示 {from} - {to} 条记录   共 {total} 条记录'
//            });
        }); 
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table id="mainList" class="easyui-datagrid" style="width: 410px;">
            <thead>
                <tr>
                    <th data-options="field:'EmployeeName',width:120">
                        姓名
                    </th>
                    <th data-options="field:'EmployeeTitle',width:120 ">
                        职务
                    </th>
                    <th data-options="field:'LoginDate',width:140 ">
                        签到时间
                    </th>
                </tr>
            </thead>
        </table>
    </div>
    </form>
</body>
</html>
